<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %>

<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<jsp:include page="cssChoose.jsp" />

<title><%= "Rejestracja" %></title>

<script type="text/javascript" src="js/validation.js"> </SCRIPT>
<script type="text/javascript" src="js/registration.js"> </SCRIPT>


</head>
<body>

 	<div id = "container"> 	
 	 	
 	<jsp:include page="header.jsp">
 		<jsp:param value="Blog-registration" name="title"/>
 	</jsp:include>
			<div id="texts">
	<jsp:include page="menu.jsp"/>
		<div id = "content">
			
			<form name = "register" method = "post" onsubmit="return registerValidation();" action = "RegistrationAction.do">
				
				login: <br/>
				<input id = "loginID" type="text" name = "login" value = "" onkeyup="getData()">
				<div id = "loginE" class = "error">
					<html:errors property ="noUser"/>
					<html:errors property ="userE"/>
				</div>
				haslo: <br/>
				<input type="password" name = "password"><br/>
				potwierdz haslo: <br/>
				<input type="password" name = "password2">
				<div id = "passwordE" class = "error">
					<html:errors property ="passE"/>
				</div>
				e-mail: <br/>
				<input type="text" name = "mail" value = "">
				<div id = "mailE" class = "error">
					<html:errors property ="mailE"/>
				</div>
				
				<button type = "submit">rejestruj</button>
				
			</form>
			
				</div>
		
	</div>
		<jsp:include page="../html/footer.html"/>
						

	</div>
	
</body>
</html>